package cn.com.api.service.impl;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiT_address;
import cn.com.api.mapper.ApiT_addressMapper;
import cn.com.api.service.ApiT_addressService;
import cn.com.api.service.impl.base.T_addressServiceImplBase;

/**
 * 
 **/
@Service
public class ApiT_addressServiceImpl extends T_addressServiceImplBase implements ApiT_addressService{
	@Autowired
	private ApiT_addressMapper apiT_addressMapper;

	@Override
	public void updateEnableZero(String uid,String id) {
		apiT_addressMapper.updateEnableZero(uid, id);
	}

	@Override
	public List<ApiT_address> getAddressesByUserId(String uid) {
		return apiT_addressMapper.getAddressesByUserId(uid);
	}

	@Override
	public void updateEnableByUserId(String uid) {
		apiT_addressMapper.updateEnableByUserId(uid);
		
	}

	@Override
	public void updateEnableById(String id) {
		apiT_addressMapper.updateEnableById(id);
	}
    
	
 
}


